package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.SwimmingTicket;

import java.util.List;

/**
 * 泳票Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ISwimmingTicketService 
{
    /**
     * 查询泳票
     * 
     * @param id 泳票ID
     * @return 泳票
     */
    public SwimmingTicket selectSwimmingTicketById(Long id);

    /**
     * 查询泳票列表
     * 
     * @param swimmingTicket 泳票
     * @return 泳票集合
     */
    public List<SwimmingTicket> selectSwimmingTicketList(SwimmingTicket swimmingTicket);

    /**
     * 新增泳票
     * 
     * @param swimmingTicket 泳票
     * @return 结果
     */
    public int insertSwimmingTicket(SwimmingTicket swimmingTicket);

    /**
     * 修改泳票
     * 
     * @param swimmingTicket 泳票
     * @return 结果
     */
    public int updateSwimmingTicket(SwimmingTicket swimmingTicket);

    /**
     * 批量删除泳票
     * 
     * @param ids 需要删除的泳票ID
     * @return 结果
     */
    public int deleteSwimmingTicketByIds(Long[] ids);

    /**
     * 删除泳票信息
     * 
     * @param id 泳票ID
     * @return 结果
     */
    public int deleteSwimmingTicketById(Long id);
}
